{include file='public/header' /}
<div class="x-body">
    <form action="" method="post" class="layui-form layui-form-pane">
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">
                商户权限
            </label>
            <table  class="layui-table layui-input-block">
                <tbody>
                {volist name='merchant' id='vo'}
                <tr>
                    {eq name='vo.fid' value='0'}
                    <td>
                        <input type="checkbox" name="like1[write]" lay-skin="primary" title="{$vo->name}">
                    </td>
                    {/eq}
                    {volist name='merchant' id='voo'}
                    {eq name='voo.fid' value='$vo.id'}
                    <td>
                        <div class="layui-input-block">
                            <input name="id[]" lay-skin="primary" type="checkbox" title="{$voo->name}">
                        </div>
                    </td>
                    {/eq}
                    {/volist}
                </tr>
                {/volist}
                </tbody>
            </table>
        </div>
        <div class="layui-form-item">
            <button class="layui-btn" lay-submit="" lay-filter="add">增加</button>
        </div>
    </form>
</div>
<script src="/static/admin/js/common.js"></script>